<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Ed-1.15
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;6.&nbsp;Editors
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="bluefish.html" title=
          "Bluefish-2.2.11">Prev</a>
          <p>
            Bluefish-2.2.11
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="emacs.html" title="Emacs-26.3">Next</a>
          <p>
            Emacs-26.3
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="editors.html" title=
          "Chapter&nbsp;6.&nbsp;Editors">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="ed" name="ed"></a>Ed-1.15
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Ed
        </h2>
        <p>
          <span class="application">Ed</span> is a line-oriented text editor.
          It is used to create, display, modify and otherwise manipulate text
          files, both interactively and via shell scripts. Ed isn't something
          which many people use. It's described here because it can be used
          by the patch program if you encounter an ed-based patch file. This
          happens rarely because diff-based patches are preferred these days.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://ftp.gnu.org/gnu/ed/ed-1.15.tar.lz">https://ftp.gnu.org/gnu/ed/ed-1.15.tar.lz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnu.org/gnu/ed/ed-1.15.tar.lz">ftp://ftp.gnu.org/gnu/ed/ed-1.15.tar.lz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: d3aaeb5eb032142948d7a2f98a24899b
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 68 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 1.0 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Ed Dependencies
        </h3>
        <h4>
          Required to uncompress the tarball
        </h4>
        <p class="required">
          <a class="xref" href="../general/libarchive.html" title=
          "libarchive-3.4.2">libarchive-3.4.2</a> (for bsdtar)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/ed">http://wiki.linuxfromscratch.org/blfs/wiki/ed</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Ed
        </h2>
        <p>
          Install <span class="application">Ed</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --bindir=/bin &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">ed and red</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="ed-prog" name="ed-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>ed</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a line-oriented text editor.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="red" name="red"></a><span class=
                    "term"><span class="command"><strong>red</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a restricted <span class=
                    "command"><strong>ed</strong></span>&mdash;it can only
                    edit files in the current directory and cannot execute
                    shell commands.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-20 06:05:58 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="bluefish.html" title=
          "Bluefish-2.2.11">Prev</a>
          <p>
            Bluefish-2.2.11
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="emacs.html" title="Emacs-26.3">Next</a>
          <p>
            Emacs-26.3
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="editors.html" title=
          "Chapter&nbsp;6.&nbsp;Editors">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
